<template>
    <div class="wrapper">
        <v-head></v-head>
        <v-sidebar></v-sidebar>
        <div class="content">

            <transition name="move" mode="out-in">
                <router-view></router-view>
            </transition>
        </div>
    </div>
</template>
<style>
    @import "https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.css";
</style>
<script>
    import vHead from './Header.vue';
    import vSidebar from './Sidebar.vue';
    import ElContainer from "../../../../../node_modules/element-ui/packages/container/src/main.vue";
    export default {
        components:{
            ElContainer,
            vHead, vSidebar
        },
        created:function(){
            this.$axios.defaults.headers.common['Authorization'] = localStorage.getItem('token');
        }
    }
</script>

